package org.jeecg.modules.ecard.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
/**
 * <p>
 * 
 * </p>
 *
 * @author 杜正冬
 * @since 2025-03-26
 */
@Getter
@Setter
@ToString
@TableName("SMART.SMART_ORGANIZE")
@ApiModel(value = "SmartOrganizeEntity对象", description = "")
public class SmartOrganizeEntity extends Model<SmartOrganizeEntity> {

    private static final long serialVersionUID = 1L;

    @TableId("SMT_ORG_ID")
    private String smtOrgId;

    @TableField("SMT_ORG_NAME")
    private String smtOrgName;

    @TableField("SMT_PARENT_ID")
    private String smtParentId;

    @TableField("SMT_LEVEL")
    private Integer smtLevel;

    @TableField("SMT_LEAST")
    private Short smtLeast;

    @TableField("SMT_DAILYCODE")
    private String smtDailycode;

    @TableField("SMT_DAILYNO")
    private Long smtDailyno;

    @Override
    public Serializable pkVal() {
        return this.smtOrgId;
    }
}
